package com.clms.statistics.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_order")
@ApiModel(value = "订单对象",description = "订单的实体类")
public class TbOrder {
  @TableId(value = "id",type = IdType.AUTO)
  @ApiModelProperty(value = "id")
  private long id;
  @ApiModelProperty(value ="客户id" )
  private long clientId;
  @ApiModelProperty(value = "车辆id")
  private long carId;
  @ApiModelProperty(value = "开始时间")
  private java.sql.Timestamp startTime;
  @ApiModelProperty(value = "结束时间")
  private java.sql.Timestamp endTime;
  @ApiModelProperty(value = "租出门店")
  private long brrowShop;
  @ApiModelProperty(value = "归还门店")
  private long returnShop;
  @ApiModelProperty(value = "总金额")
  private double totalPrice;
  @ApiModelProperty(value = "预付金额")
  private double preparidAmount;
  @ApiModelProperty(value = "订单状态")
  private long state;
  @ApiModelProperty(value = "是否送车上门")
  private String isGetCarAtHome;
  @ApiModelProperty(value = "上门地址Id")
  private String getCarLocation;
  @ApiModelProperty(value = "是否上门还车")
  private String isReturnCarAtHome;
  @ApiModelProperty(value = "上门地址Id")
  private String returnCarLocation;
  @ApiModelProperty(value = "")
  private java.sql.Timestamp addtime;
  @ApiModelProperty(value = "")
  private String orderNo;


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public long getClientId() {
    return clientId;
  }

  public void setClientId(long clientId) {
    this.clientId = clientId;
  }


  public long getCarId() {
    return carId;
  }

  public void setCarId(long carId) {
    this.carId = carId;
  }


  public java.sql.Timestamp getStartTime() {
    return startTime;
  }

  public void setStartTime(java.sql.Timestamp startTime) {
    this.startTime = startTime;
  }


  public java.sql.Timestamp getEndTime() {
    return endTime;
  }

  public void setEndTime(java.sql.Timestamp endTime) {
    this.endTime = endTime;
  }


  public long getBrrowShop() {
    return brrowShop;
  }

  public void setBrrowShop(long brrowShop) {
    this.brrowShop = brrowShop;
  }


  public long getReturnShop() {
    return returnShop;
  }

  public void setReturnShop(long returnShop) {
    this.returnShop = returnShop;
  }


  public double getTotalPrice() {
    return totalPrice;
  }

  public void setTotalPrice(double totalPrice) {
    this.totalPrice = totalPrice;
  }


  public double getPreparidAmount() {
    return preparidAmount;
  }

  public void setPreparidAmount(double preparidAmount) {
    this.preparidAmount = preparidAmount;
  }


  public long getState() {
    return state;
  }

  public void setState(long state) {
    this.state = state;
  }


  public String getIsGetCarAtHome() {
    return isGetCarAtHome;
  }

  public void setIsGetCarAtHome(String isGetCarAtHome) {
    this.isGetCarAtHome = isGetCarAtHome;
  }


  public String getGetCarLocation() {
    return getCarLocation;
  }

  public void setGetCarLocation(String getCarLocation) {
    this.getCarLocation = getCarLocation;
  }


  public String getIsReturnCarAtHome() {
    return isReturnCarAtHome;
  }

  public void setIsReturnCarAtHome(String isReturnCarAtHome) {
    this.isReturnCarAtHome = isReturnCarAtHome;
  }


  public String getReturnCarLocation() {
    return returnCarLocation;
  }

  public void setReturnCarLocation(String returnCarLocation) {
    this.returnCarLocation = returnCarLocation;
  }


  public java.sql.Timestamp getAddtime() {
    return addtime;
  }

  public void setAddtime(java.sql.Timestamp addtime) {
    this.addtime = addtime;
  }


  public String getOrderNo() {
    return orderNo;
  }

  public void setOrderNo(String orderNo) {
    this.orderNo = orderNo;
  }

}
